package com.qianya.model.pojo.login.qo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Package: com.qianya.model.pojo.login.qo
 * @ClassName: LoginVO
 * @Author: zzq
 * @Description:
 * @Date: 2020/7/3 9:59
 * @Version: 1.0
 */
@Data
@ApiModel(value="LoginVO", description="登录返回对象")
public class LoginVO {

    @ApiModelProperty(value = "token")
    private String token;

    @ApiModelProperty(value = "用户id")
    private String userId;


    public LoginVO(){

    }
    public LoginVO(String token,String userId){
        this.token = token;
        this.userId = userId;
    }

}
